package com.food.user.exception.foodInfoException;


import com.food.user.exception.WoNiuException;

public class FoodInfoException extends WoNiuException {
    public FoodInfoException(Integer code, String message) {
        super(code, message);
    }
    public FoodInfoException(FoodInfoExceptionCode foodInfoExceptionCode){
        super(foodInfoExceptionCode.getCode(),foodInfoExceptionCode.getMessage());
    }
}
